﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
    登录 EzDesk
</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
    <div id="blank" style="height: 20px;"></div>
    <p>
        请输入账号和密码用来登录。
    </p>    
	<div class="sec">
	<h2>登陆EzDesk</h2>
	<% using (Html.BeginForm()) { %>
	 		帐号:<br />
            <%= Html.TextBox("username") %>
            <%= Html.ValidationMessage("username") %>
	 		<br />
	 		密码:<br />
            <%= Html.TextBox("password") %>
            <%= Html.ValidationMessage("password") %>
	 		<br />
	 		<input type="submit" name="login" value="登录" class="button" />
            <%= Html.CheckBox("rememberMe") %><label for="rememberMe">记住我</label>
	 <% } %>
	 </div>
    
    <%= Html.ValidationSummary("登录失败，请重新登录") %>
</asp:Content>
